home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2001 May / SGI Freeware 2001 May - Disc 2.iso / dist / fw_nas.idb / usr / freeware / etc / nasd.conf.eg.z / nasd.conf.eg
Text File  |  2001-04-12  |  2KB  |  65 lines

  1. #
  2. #    A sample config file for the NAS Audio Server
  3. #
  4. # $Id: nasd.conf.eg,v 1.4 2000/01/02 03:03:50 jon Exp $
  5. # $NCDId: @(#)AUVoxConfig.eg,v 1.1 1996/04/24 17:00:06 greg Exp $
  6. #
  7.  
  8.  
  9. # set this to 0 for no debugging, a larger number equals more debugging
  10. #  info...
  11. Debug 0
  12.  
  13. # be verbose, comment out if you don't want it
  14. Verbose
  15.  
  16. # set this to "yes" or "no" to indicate whether nasd should release the
  17. #  audio device when finished playing a sound.
  18. # Only the voxware, hpux, and sun servers understand this for now.
  19. ReleaseDevice "yes"
  20.  
  21. # init the mixer on startup? Voxware only.
  22. MixerInit    "yes"            
  23.  
  24. # This is used on hpux.  Set to "INT" to use the internal speaker,
  25. #  set to "EXT" to use the external device (headphone/speakers).
  26. OutDevType    "EXT"
  27.  
  28. # These are all used by voxware, nowhere else yet.
  29.  
  30. inputsection
  31.  
  32.     device        "/dev/dsp1"        # the SB emulation on my PAS16
  33.     maxrate        11025
  34.     minrate        4000            # Kind of redundant
  35.     maxfrags    3            # We want really low latency
  36.     minfrags    2            # the default
  37.     fragsize    256            # Again, for low latency
  38.     wordsize    8            # It only handles 8 bits anyway
  39.     numchans    1            # Glorious living mono
  40. end
  41.  
  42. # These are used by voxware only for now.
  43. outputsection
  44.     device        "/dev/dsp"        # the full 16 bit interface!
  45.     maxrate        33000            # is flakey on my OPTi mb at 44
  46.     minrate        5000            # Redundant again
  47.     maxfrags    3            # Low latency (for doom!)
  48.     minfrags    2            # redundant really.
  49.     fragsize    256            # Low latency again..
  50.     wordsize    16            # Yes!
  51.     numchans    2            # HiFi Stereo!
  52. end
  53.  
  54. #
  55. #    An el cheapo full duplex setup could have the following output
  56. #    section with the above inputsection, assuming that all they had
  57. #    was an 8 bit SB and the PC speaker with the voxware server.
  58. #
  59. #outputsection
  60. #    device    "/dev/pcaudio"
  61. #    maxrate        8000
  62. #    minrate        8000
  63. #    wordsize    8
  64. #end
  65.